#include "CreateBulletMessage.h"

#include "Player.h"
#include "MessageID.h"
CreateBulletMessage::CreateBulletMessage(MovingObject* E, float rotate, bool useFacing) : Message(MessageID::MSG_CREATE_BULLET)
{
	Owner = E;
	Owner->AddRef();
	rotation = rotate;
	this->useFacing = useFacing;
}
CreateBulletMessage::~CreateBulletMessage()
{
	Owner->Release();
}
